/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.base.web;

import com.jeeplus.common.json.AjaxJson;
import com.jeeplus.config.properties.JeePlusProperites;
import com.jeeplus.core.web.BaseController;
import com.jeeplus.modules.base.service.GxsqBaseService;
import com.jeeplus.modules.sys.entity.User;
import com.jeeplus.modules.sys.security.util.JWTUtil;
import com.jeeplus.modules.sys.service.UserService;
import com.jeeplus.modules.sys.utils.RSAUtils;
import com.jeeplus.modules.sys.utils.UserUtils;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.List;


/**
 * 排队操作记录Controller
 * @author azj
 * @version 2024-09-29
 */
@RestController
@CrossOrigin(origins = "*")
@RequestMapping(value = "pjy")
public class pjyBaseController extends BaseController {
	@Autowired
	private GxsqBaseService gxsqBaseService;

	/**
	 * findCountStatus
	 * 获取窗口状态
	 * @author azj
	 * @date 2020-05-18/下午1:43:15
	 */
	@GetMapping("findCountStatus")
	public AjaxJson findCountStatus(String max){
		return gxsqBaseService.findCountStatus(max);
	}
	/**
	 * findCountValue
	 * 获取窗口办理信息
	 * @author azj
	 * @date 2020-05-18/下午1:43:15
	 */
	@GetMapping("findCountValue")
	public AjaxJson findCountValue(String countid){
		return gxsqBaseService.findCountValue(countid);
	}
	/**
	 * updatePJ
	 * 更新评鉴
	 * @author azj
	 * @date 2020-05-18/下午1:43:15
	 */
	@GetMapping("updatePJ")
	public AjaxJson updatePJ(String pjlevel,String id){
		return AjaxJson.success().put("data",gxsqBaseService.updatePJ(pjlevel,id));
	}




}